<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <div class="layui-input-block">
                优惠券列表<font color="red">(*选中为首页展示)</font>
            </div>
        </div>
        <div class="layui-row layui-col-space10">
            {foreach $list as $v}
            <div class="layui-col-md3">
                <input type="checkbox" name="coupon[{$v.id}]" title="{$v.id}-{$v.type}-{$v.coupon_title}-{$v.coupon_price}"
                {if $v.is_show_index eq 1}checked{/if}>
            </div>
            {/foreach}
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
